/*
 * @Author: zhangyang
 * @Date: 2023-12-29 10:15:53
 * @LastEditTime: 2024-01-11 15:16:59
 * @Description: 
 */
import { defineConfig } from 'vite';
import monkey from 'vite-plugin-monkey';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    monkey({
      entry: 'src/main.ts',
      userscript: {
        'run-at': 'document-start',
        icon: 'https://vitejs.dev/logo.svg',
        namespace: 'npm/vite-plugin-monkey',
        match: ['*://*/*'],
      },
    }),
  ],
});
